import request from '@/utils/request'
export default {

    //获取前两条banner数据
    getHotCourseTeacher() {
        return request({
        url: `/eduservice/indexuseros/getHotCourseTeacher`,
        method: 'get'
        })
    },

    //获取最新课程
    getNewCourse(){
        return request({
        url: `/eduservice/indexuseros/getNewCourse`,
        method: 'get'
        })
    },

    playVideo(orderUser){
        return request({
        url: `/eduservice/indexuseros/auth/playVideo`,
        method: 'post',
        data:orderUser
        })
    }

    
}